<!DOCTYPE HTML>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>IMAGES</title>
<%include file="_head.html"/>
</head>
<body>

<div class="navbar navbar-fixed-top">

<%include file="_header.html" />

</div>

<div class="container-fluid">

<div class="row-fluid">

<div class="span2">
<!--Sidebar content-->
    <%include file="_sidebar.html" />
</div>
<div class="span10">
    <div id="content">
        %if id:
        <%include file="_tabmenu.html" />
        %endif

        <h1>PANEO IMAGES 
        %if mode != 'view':
        <a href="/paneo/images/" class="btn" style="margin-left:30px;">一覧に戻る</a>
        %endif
        </h1>
        %if mode == 'view' :
        <%include file="_page_list.html" args="edit='images'"/>
        %endif:
        <!-- form -->
        %if id :

        <form class="form-horizontal"  enctype="multipart/form-data" method="POST">
        <fieldset>
        <legend>[ ${id} ] IMAGE 編集
        
        %if scfg.get('PAGEMAKE') == 'CMS':
        <a href="/${id}.html" target="_blank" class="icon-share-alt">
        <span class="label">
        ページ表示
        </span>
        </a>
        %else:
        <a href="/${id}.html" target="_blank" class="icon-share-alt">
        <span class="label">
        ページ表示
        </span>
        </a>
        %endif
        
        </legend>

        <%include file="_images.html" />
        <div class="form-actions">
            <button class="btn btn-primary" type="submit">更新する</button>
            <button class="btn" type="reset" style="margin-left:20px;">Cancel</button>
        </div>
        </fieldset>
        </form>
        %endif
    </div><!--/div#content row span-->
</div>

</div><!--/row-->

</div><!--/container-fluid"-->

<hr>

<%include file="_footer.html" />

</div><!--/.fluid-container-->

</body>
</html>


